package com.example.android_sqlite.Entity;

public class Teacher extends BaseEntitiy{

    private String age;
    private String sex;
    private String teach;

    public Teacher() {
    }

    public Teacher(String id, String name, String age, String sex) {
        super(id, name);
        this.age = age;
        this.sex = sex;
    }

    public Teacher(String id, String name, String age, String sex, String teach) {
        this(id, name, age, sex);
        this.teach = teach;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getLike() {
        return teach;
    }

    public void setLike(String like) {
        this.teach = like;
    }

    @Override
    public String toString() {
        return "Student{" +
                super.toString() + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", like='" + teach + '\'' +
                '}';
    }
}
